package cn.yzc.mapper;

import cn.yzc.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>Project: SpringPro - UserMapper</p>
 * <p>Powered by yzc On 2023-10-24 14:17:36</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface UserMapper {
    User queryById(int id);

    @Select("select  id,name from user where id =#{id}")
    User queryUser(int id);
}
